package com.zjj.lbw.service.api.order.feign;

import com.zjj.lbw.common.bean.R;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestMapping;

/**
 * @author zhanglei.zjj
 * @description OrderFeign 客户端
 * @date 2023/6/22 18:17
 */
@FeignClient(value = "zk-microservice-provider",path = "/order")
public interface OrderFeignClient {
    @RequestMapping("/findOrderByUserId/{userId}")
    public R findOrderByUserId(@PathVariable("userId") Integer userId);
}
